//菜单主题类型
export const ThemeEnum = {
    LIGHT: "light",
    DARK: "dark"
} as const;

// 菜单类型
export const MenuEnum = {
    CATALOGUE: "directory",
    MENU: "menu",
    BUTTON: "button"
} as const;

// 屏幕
export const ScreenEnum = {
    SM: 640,
    MD: 768,
    LG: 1024,
    XL: 1280,
    "2XL": 1536
} as const;

// 客户端类型
// export enum ClientEnum {
//     MP_WEIXIN = 1, // 微信-小程序
//     OA_WEIXIN = 2, // 微信-公众号
//     H5 = 3, // H5
//     PC = 4, // PC
//     IOS = 5, //苹果
//     ANDROID = 6 //安卓
// }

export const ClientEnum = {
    MP_WEIXIN: "wechatMiniProgram", // 微信-小程序
    OA_WEIXIN: "wechatOfficialAccount", // 微信-公众号
    H5: "mobileH5", // H5
    PC: "pc", // PC
    IOS: "iosApp", //苹果
    ANDROID: "androidApp" //安卓
} as const;

export const ClientMap = {
    [ClientEnum.MP_WEIXIN]: "微信小程序",
    [ClientEnum.OA_WEIXIN]: "微信公众号",
    [ClientEnum.H5]: "手机H5",
    [ClientEnum.PC]: "电脑PC",
    [ClientEnum.IOS]: "苹果APP",
    [ClientEnum.ANDROID]: "安卓APP"
};

/**
 * 性别
 */
export const Gender = {
    Female: "female",
    Male: "male",
    Unknown: "unknown"
} as const;

export const PageEnum = {
    //登录页面
    LOGIN: "/login",
    REGISTER: "/register",
    //无权限页面
    ERROR_403: "/403",
    INDEX: "/index"
} as const;
